// PSPIDQuery.h: interface for the PSPIDQuery class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PSPIDQUERY_H__AAA30D43_3783_448E_A4D8_DF807C3A1D71__INCLUDED_)
#define AFX_PSPIDQUERY_H__AAA30D43_3783_448E_A4D8_DF807C3A1D71__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PSPQuery.h"
#include "Map.h"
#include "PartSortProperty.h"

class AFX_EXT_CLASS PSPIDQuery : 
public PSPQuery, 
public MapEx<CString,PartSortProperty*>  
{
	friend class SortPropertyQueryManager;
private:
	PSPIDQuery();

public:
	virtual void RemoveSortProperty(PartSortProperty *pProperty);
	virtual void AddSortProperty(PartSortProperty * pProperty);
	Iterator * GetSameIDParts(const CString& strPartID);
	PartSortProperty* GetCurPSPByID(const CString& strPartID);

private:
	BOOL IsCurStandard(const CString &strStandard);

public:
	virtual ~PSPIDQuery();

};

#endif // !defined(AFX_PSPIDQUERY_H__AAA30D43_3783_448E_A4D8_DF807C3A1D71__INCLUDED_)
